<?php
/* @var $this ChedodinhduongController */
/* @var $model Chedodinhduong */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'chedodinhduong-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'chude'); ?>
		<?php echo $form->textField($model,'chude',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'chude'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'noidung'); ?>
		<?php echo $form->textField($model,'noidung',array('size'=>60,'maxlength'=>2000)); ?>
		<?php echo $form->error($model,'noidung'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ngaydang'); ?>
		<?php echo $form->textField($model,'ngaydang'); ?>
		<?php echo $form->error($model,'ngaydang'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'iduser'); ?>
		<?php echo $form->textField($model,'iduser',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'iduser'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'luotxem'); ?>
		<?php echo $form->textField($model,'luotxem',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'luotxem'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->